package com.x.ant.model;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;

@MappingTable(tableName = "CRM_USER_ADDRESS")
public class UserAddress extends BaseObject {
    @MappingColumn(columnName = "ADDRESS_ID", columnPk = true, columnLength = 32)
    private String addressId;
    @MappingColumn(columnName = "PROVINCE_ID")
    private String provinceId;
    @MappingTable(tableName = "BASE_PROVINCE")
    private Province province;
    @MappingColumn(columnName = "CITY_ID")
    private String cityId;
    @MappingTable(tableName = "BASE_CITY")
    private City city;
    @MappingColumn(columnName = "DISTRICT_ID")
    private String districtId;
    @MappingTable(tableName = "BASE_DISTRICT")
    private District district;
    @MappingColumn(columnName = "ADDRESS_DETAIL")
    private String addressDetail;
    @MappingColumn(columnName = "ADDRESS_LINKMAN")
    private String addressLinkman;
    @MappingColumn(columnName = "ADDRESS_MOBILE")
    private String addressMobile;
    @MappingColumn(columnName = "ADDRESS_DEFAULT")
    private Boolean addressDefault;
    @MappingColumn(columnName = "USER_ID")
    private String userId;

    public String getAddressId() {
        return addressId;
    }

    public void setAddressId(String addressId) {
        this.addressId = addressId;
    }

    public String getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(String provinceId) {
        this.provinceId = provinceId;
    }

    public Province getProvince() {
        return province;
    }

    public void setProvince(Province province) {
        this.province = province;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public City getCity() {
        return city;
    }

    public void setCity(City city) {
        this.city = city;
    }

    public String getDistrictId() {
        return districtId;
    }

    public void setDistrictId(String districtId) {
        this.districtId = districtId;
    }

    public District getDistrict() {
        return district;
    }

    public void setDistrict(District district) {
        this.district = district;
    }

    public String getAddressDetail() {
        return addressDetail;
    }

    public void setAddressDetail(String addressDetail) {
        this.addressDetail = addressDetail;
    }

    public String getAddressLinkman() {
        return addressLinkman;
    }

    public void setAddressLinkman(String addressLinkman) {
        this.addressLinkman = addressLinkman;
    }

    public String getAddressMobile() {
        return addressMobile;
    }

    public void setAddressMobile(String addressMobile) {
        this.addressMobile = addressMobile;
    }

    public Boolean getAddressDefault() {
        return addressDefault;
    }

    public void setAddressDefault(Boolean addressDefault) {
        this.addressDefault = addressDefault;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
}
